package com.park.dao;

import com.park.bean.Manager;
import com.park.util.Page;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface IManagerDao {
    List<Manager> getManager(@Param("manager") Manager manager,@Param("page") Page page);
    int getCount(@Param("manager") Manager manager);
    List<Manager> getManagerByUsername(String username);

    int postManager(Manager manager);

    int delManager(int id);

    int editManager(Manager manager);
    int changePass(Manager manager);
}
